package com.neu.gulimall.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 秒杀商品的定时上架
 *      每天晚上3点，上架最近三天需要秒杀的商品
 */
@Configuration
@EnableAsync
@EnableScheduling
public class MyScheduledConfig {

}
